{% extends "wltheme/base.html" %}
{% load wenlincms_tags wlcore_tags %}

{% block meta_title %}{{ title }}{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block body_id %}account{% endblock %}

{% block extra_css %}
    <link rel="stylesheet" href="{{ STATIC_URL }}{{ "wltheme/css/login.css"|file_time_stamp }}">
{% endblock %}

{% block breadcrumb_menu %}
    {{ block.super }}
    <li>{{ title }}</li>
{% endblock %}

{% block main %}
    {% errors_for form %}
    <form method="post"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
        <fieldset>
            <legend>{{ title }}</legend>
            {% fields_for form %}
            <div class="form-actions">
                {% block account_form_actions %}
                    <input class="btn btn-primary btn-lg pull-right" type="submit" value="{{ title }}">
                {% endblock %}
            </div>
        </fieldset>
    </form>
{% endblock %}
